package top.kent90.service;

import top.kent90.pojo.SysUser;
import top.kent90.pojo.ZczyUser;

import java.util.List;
import java.util.Map;

public interface LoginService {

    /**
     * pc端 通过手机查询用户
     * @param mobile
     * @return
     */
    ZczyUser queryByMobile(String mobile);

    /**
     * 通过用户名查询用户
     * @param loginName
     * @return
     */
    SysUser queryByLoginName(String loginName);

    /**
     * 用户登陆后查询菜单
     * @param map
     * @return
     * @throws Exception
     */
    public List<Map<String, Object>> queryMenu(Map<String, Object> map) throws Exception;

}
